package com.luomu.base.biz.impl;

import com.luomu.base.api.bo.ApiReqBO;
import com.luomu.base.api.bo.ApiRspBO;
import com.luomu.base.api.service.ApiService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/apiService")
public class ApiServiceImpl implements ApiService {

    private final Logger logger = LoggerFactory.getLogger(ApiServiceImpl.class);

    @Override
    public ApiRspBO apiApi(ApiReqBO reqBO){
        logger.info("=============测试============={}","12312");
        ApiRspBO rspBO=new ApiRspBO();
        rspBO.setName(reqBO.getName());
        return rspBO;
    }
}
